﻿using System;

namespace ProjectEuler.Problems
{
    [AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
    public sealed class EulerProblemAttribute : Attribute
    {
        public EulerProblemAttribute(Int32 id) 
            : this(id, null)
        {
        }

        public EulerProblemAttribute(Int32 id, Object answer)
        {
            ID = id;
            Answer = answer;
        }

        public Int32 ID
        {
            get;
            set;
        }

        public Object Answer
        {
            get;
            set;
        }

        public Boolean Skip
        {
            get;
            set;
        }
    }
}
